package forum.business.entities;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class UserBO {
	
	//public static enum UserType {USER, MODERATOR, ADMINISTRATOR};
	
	/* ========================================================================== *
	 * 		FIELDS
	 * ========================================================================== */
	
	
	private String login;
	private String status;
	private String password;
	private String email;
	private String city;
	private String country;
	private Date birthDate;
	private Boolean isFemale;
	private Integer postsCounter;
	private Date joinDate;
	private String name;
	private String surname;
	
	/* ========================================================================== *
	 * 		RELATIONS
	 * ========================================================================== */
	
	private Set<TopicBO> topics;
	
	/* ========================================================================== *
	 * 		CONSTRUCTORS
	 * ========================================================================== */
	
	public UserBO(){}
	
	/*
	public UserBO(String login, String password){
		setLogin(login);
		setPassword(password);
	}
	*/
	
	/* ========================================================================== *
	 * 		SETTERS AND GETTERS
	 * ========================================================================== */
	
	/*
	public Long getId() {
		return id;
	}
	private void setId(Long id) {
		this.id = id;
	}
	*/
	
	public String getLogin() {
		return login;
	}
	public void setLogin(String login) {
		this.login = login;
	}
	
	public Date getBirthDate() {
		return birthDate;
	}
	public void setBirthDate(Date birthDate) {
		this.birthDate = birthDate;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getCountry() {
		return country;
	}
	public void setCountry(String country) {
		this.country = country;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Boolean getIsFemale() {
		return isFemale;
	}
	public void setIsFemale(Boolean isFemale) {
		this.isFemale = isFemale;
	}
	public Date getJoinDate() {
		return joinDate;
	}
	public void setJoinDate(Date joinDate) {
		this.joinDate = joinDate;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Integer getPostsCounter() {
		return postsCounter;
	}
	public void setPostsCounter(Integer postsCounter) {
		this.postsCounter = postsCounter;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getSurname() {
		return surname;
	}
	public void setSurname(String surname) {
		this.surname = surname;
	}
	public Set<TopicBO> getTopics() {
		return topics;
	}
	public void setTopics(Set<TopicBO> topics) {
		this.topics = topics;
	}
		
}
